import React from 'react';
import ReactDOM from 'react-dom';
import './style/common.less';

import Page from './Page';
// import * as serviceWorker from './serviceWorker';

// 读取local中的用户信息
import memoryUtils from './utils/memoryUtils';
import storegeUtils from './utils/storegeUtils';
memoryUtils.userInfo = storegeUtils.getUser();

ReactDOM.render(<Page />, document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
// serviceWorker.unregister();
